STEP 1: We started building this program for you! Now, we'll start learning how it works!

The variable star_color at the top of our program controls the color of the first three stars.

  • Find star4 in the editor and change its color argument from "yellow" to the variable star_color.
  • Remember, variable names DO NOT get quotes around them.
  • Click Run and watch - what happens to star4?

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)